﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CodeCounsel.Office.DatabindingToolkit
{
    public partial class TaskPane : UserControl
    {
        public Document Document { get; set; }

        public TaskPane(Document document)
        {
            InitializeComponent();
            Document = document;
        }

        protected override void OnCreateControl()
        {
            wpfTaskPane1.SetDocument(Document);
            base.OnCreateControl();
        }
    }
}
